package com.mySampleApplication.client.CodeRuleAtter;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.mySampleApplication.client.codeRule.CodeRuleDto;

import java.util.Map;

public interface CodeRuleAtterServiceAsync {
    void getTotal(Map<String, String> map, AsyncCallback<String> async);
    void getSelect(Map<String, String> map, Map<String, String> mapPage, AsyncCallback<CodeRuleAtterDto> async);
    void setInsert(Map<String, String> map, AsyncCallback<String> async);
    void setUpdate(Map<String, String> map, AsyncCallback<String> async);
    void setDelete(int[] ids, AsyncCallback<String> async);
    void deleteByCoderuleId(String coderuleId, AsyncCallback<String> async);

    void getSelectVs(Map<String, String> map, Map<String, String> mapPage, AsyncCallback<CodeRuleAtterDto> async);
}
